OpenWGA 7.10 - WebTML reference

WebTML tags » [All condition tags]

<tml:[All condition tags] language ="language-code">

Purpose:

Tests if the preferred language of the user matches the given language code

Description:

The preferred language of a user is the language in which OpenWGA preferrably serves content to him. Its determination is dependent on the configuration of the current application. The default way to determine it is to compare the languages configured in the users browser to the languages where the first requested content is available in and to choose the best match.

This language is not neccessarily identical to the language of the current context document or the language of the requests main document.

If you are searching for a way to realize multi language designs you should consider using WebTML labels rather than this condition.

Value(s):

Code of a language defined in the OpenWGA content store